package com.jzlin.alltools.config;

import com.jzlin.alltools.service.chatai.store.IChatStore;
import com.jzlin.alltools.service.chatai.store.InMemoryChatStore;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * AI问答配置.
 *
 * @author linjz
 * @date 2024/11/14
 */
@Configuration
public class ChatAiConfig {

    @Bean
    public IChatStore chatStore() {
        return new InMemoryChatStore();
    }
}
